.TH std::packaged_task::swap 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::packaged_task::swap \- std::packaged_task::swap

.SH Synopsis
   void swap( packaged_task& other ) noexcept;  \fI(since C++11)\fP

   Exchanges the shared states and stored tasks of *this and other.

.SH Parameters

   other - packaged task whose state to swap with

.SH Return value

   \fI(none)\fP

.SH See also

   std::swap(std::packaged_task) specializes the std::swap algorithm
   \fI(C++11)\fP                       \fI(function template)\fP
